package com.yjx.managedemo.po;


import lombok.Data;
import com.yjx.managedemo.entity.Employees;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: OlderHard
 * @CreateTime: 2025-01-03
 * @Description: 封装分页和搜索条件
 * @Version: 1.0
 */

@Data
public class EmployeesQuery extends Employees {

    private Integer page;
    private Integer limit;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginCreateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endCreateTime;
}
